import React from "react";
import { View, Text, StyleSheet } from "react-native";
// import {  NodePlayerView } from 'react-native-nodemediaclient';

/** 
 视频
[用react-native-video向React Native添加视频](https://juejin.cn/post/7068159734498459661)
[api.video-reactnative-live-stream](https://github.com/apivideo/api.video-reactnative-live-stream)
[Mac搭建nginx+rtmp服务器，通过ffmpeg实现视频推流](https://blog.csdn.net/lg767201403/article/details/83009938#:~:text=推流%20准备一个视频文件例如：testvideo.map4%20放在桌面，执行%20%28username%20换成你电脑设备的名字%29%20ffmpeg%20-re%20-i,network-%3E输入：%20rtmp%3A%20%2F%2F%20localhost%3A%201935%2F%20rtmplive%20%2F%20room)
### 启动服务
nginx
### 推流
ffmpeg -re -i 230105.mp4 -vcodec libx264 -acodec aac -strict -2 -f flv rtmp://localhost:1935/rtmplive/room
 */

/**
 * 入职登记
 */
const EnrollmentView = () => {

    const url = 'rtmp://192.168.1.122:1935/rtmplive/room'

    return (
        <View>
            
        </View >
    )
}

const styles = StyleSheet.create({
    backgroundVideo: {
        backgroundColor: 'red',
        marginHorizontal: 10,
        height: 300,
    }
})


export default EnrollmentView;